import 'package:flutter/material.dart';
import 'package:logger/logger.dart';
import 'package:flutter_again/utils/setup.dart';

class NotePage extends StatefulWidget {
  const NotePage({ super.key });

  @override
  State<NotePage> createState() => _NotePage();
}

class _NotePage extends State<NotePage> {

  @override
  Widget build(BuildContext context) {
    
    return Scaffold(
      appBar: AppBar(
        title: const Text('笔记'),
      ),
      body: Center(child: Text('内容'),),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          getIt<Logger>().d('点击编辑内容');
        },
        child: Icon(
          Icons.edit
        ),
      ),
    );
  }
}
